﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartHotel.Model
{

    /// <summary>
    /// 分页包装类
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class MyPage<T> //泛型
    {
        /// <summary>
        /// 每页大小
        /// </summary>
        public int Size {  get; set; }
        /// <summary>
        /// 总条数
        /// </summary>
        public int Count {  get; set; }
        /// <summary>
        /// 获取的数据
        /// </summary>
        public  List<T> Data { get; set; }
    }
}
